﻿using System;
using System.Collections.Generic;
using System.Text;

namespace X3dTest
{
    public class Appearance:X3DObject
    {
        private Material Material;
        private string Texture;
        private string TextureTransform;

        public Material material
        {
            get { return Material; }
            set { Material = value; }
        }

        public string texture
        {
            get { return Texture; }
            set { Texture = value; }
        }

        public string textureTransform
        {
            get { return TextureTransform; }
            set { TextureTransform = value; }
        }

        public Appearance()
            :base()
        {
            this.Material = new Material();
        }

        public Appearance(Material material)
            : base()
        {
            this.Material = material;
            this.Texture = "";
            this.TextureTransform = "";
        }

        public Appearance(string DEF,string USE, Material material,string texture,string textureTransform)
            //: base()
        {
            this.DEF = DEF;
            this.USE = USE;
            this.Material = material;
            this.Texture = texture;
            this.TextureTransform = textureTransform;
        }
    }
}
